.class Lcom/xingbook/baike/activity/o;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/xingbook/baike/activity/BaikeCommentActivity;

.field private final synthetic b:Z


# direct methods
.method constructor <init>(Lcom/xingbook/baike/activity/BaikeCommentActivity;Z)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/baike/activity/o;->a:Lcom/xingbook/baike/activity/BaikeCommentActivity;

    iput-boolean p2, p0, Lcom/xingbook/baike/activity/o;->b:Z

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    const/16 v5, 0xe

    const/4 v1, 0x1

    const/4 v2, 0x0

    invoke-static {}, Lcom/xingbook/group/c/a;->a()Lcom/xingbook/group/c/a;

    move-result-object v0

    iget-object v3, p0, Lcom/xingbook/baike/activity/o;->a:Lcom/xingbook/baike/activity/BaikeCommentActivity;

    invoke-static {v3}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->d(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/l;

    move-result-object v3

    iget-object v4, p0, Lcom/xingbook/baike/activity/o;->a:Lcom/xingbook/baike/activity/BaikeCommentActivity;

    invoke-static {v4}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->z(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v0, v3, v4}, Lcom/xingbook/group/c/a;->a(Lcom/xingbook/group/a/l;Ljava/util/ArrayList;)Lcom/xingbook/park/e/c;

    move-result-object v0

    if-eqz v0, :cond_5

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->e()I

    move-result v3

    const/16 v4, 0xc8

    if-ne v3, v4, :cond_5

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->a()I

    move-result v3

    if-nez v3, :cond_3

    iget-object v0, p0, Lcom/xingbook/baike/activity/o;->a:Lcom/xingbook/baike/activity/BaikeCommentActivity;

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->z(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    move v3, v1

    :goto_0
    if-ne v3, v1, :cond_1

    const-string v0, "\u52a0\u8f7d\u66f4\u591a\u00b7\u00b7\u00b7"

    :goto_1
    iget-object v4, p0, Lcom/xingbook/baike/activity/o;->a:Lcom/xingbook/baike/activity/BaikeCommentActivity;

    invoke-static {v4}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->b(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/activity/r;

    move-result-object v4

    const/16 v5, 0xd

    iget-boolean v6, p0, Lcom/xingbook/baike/activity/o;->b:Z

    if-eqz v6, :cond_2

    :goto_2
    invoke-virtual {v4, v5, v3, v1, v0}, Lcom/xingbook/baike/activity/r;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    :goto_3
    iget-object v0, p0, Lcom/xingbook/baike/activity/o;->a:Lcom/xingbook/baike/activity/BaikeCommentActivity;

    invoke-static {v0, v2}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->a(Lcom/xingbook/baike/activity/BaikeCommentActivity;Z)V

    return-void

    :cond_0
    move v3, v2

    goto :goto_0

    :cond_1
    const-string v0, "\u6ca1\u6709\u66f4\u591a\u56de\u590d\u5185\u5bb9~"

    goto :goto_1

    :cond_2
    move v1, v2

    goto :goto_2

    :cond_3
    iget-object v3, p0, Lcom/xingbook/baike/activity/o;->a:Lcom/xingbook/baike/activity/BaikeCommentActivity;

    invoke-static {v3}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->b(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/activity/r;

    move-result-object v3

    iget-boolean v4, p0, Lcom/xingbook/baike/activity/o;->b:Z

    if-eqz v4, :cond_4

    :goto_4
    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v5, v2, v1, v0}, Lcom/xingbook/baike/activity/r;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    goto :goto_3

    :cond_4
    move v1, v2

    goto :goto_4

    :cond_5
    iget-object v0, p0, Lcom/xingbook/baike/activity/o;->a:Lcom/xingbook/baike/activity/BaikeCommentActivity;

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->b(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/activity/r;

    move-result-object v0

    iget-boolean v3, p0, Lcom/xingbook/baike/activity/o;->b:Z

    if-eqz v3, :cond_6

    :goto_5
    const-string v3, "\u7531\u4e8e\u7f51\u7edc\u539f\u56e0\u52a0\u8f7d\u5931\u8d25"

    invoke-virtual {v0, v5, v2, v1, v3}, Lcom/xingbook/baike/activity/r;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    goto :goto_3

    :cond_6
    move v1, v2

    goto :goto_5
.end method
